﻿<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" AutoEventWireup="true"
    CodeFile="NewsAdd.aspx.cs" Inherits="Member_News_NewsAdd" Title="添加公司动态" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="Server">
<div class="inkg mar_top">
    <strong class="inkgt">
        添加公司动态</strong>
	 <div class="intip mar_top">
            <strong class="intipt">提&nbsp;示：</strong> <p>·贵公司的资料上网后会受到其他客户及工商质检部门等多方关注，请如实填写！因此虚假信息产生的相关责任，将由贵公司自行承担 ！ </p>
			</div>
       <table border="0" cellpadding="0" cellspacing="0" class="addtb">
            <thead>
                <tr>
                    <td colspan="2">
                        公司动态基本资料
                    </td>
                </tr>
            </thead>
            <tbody>
        <tr>
            <td class="tblt">
                标题：
            </td>
            <td >
                <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tblt">
                内容：
            </td>
            <td >
                <fckeditorv2:fckeditor id="Detail" runat="server" basepath="~/Control/fckeditor/"
                    toolbarset="Basic" height="400" width="640">
                        </fckeditorv2:fckeditor>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" height="45">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click"  CssClass="i_button" />&nbsp;
            </td>
        </tr>
        </tbody>
    </table>
    </div>
    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript">
    $("ctl00_ContInfo_btnSave").onclick=function()
    {
     if($("ctl00_ContInfo_txtTitle").value.replace(/\s/g,'')=="")
        {
         alert("标题不能为空!")
         $("ctl00_ContInfo_txtTitle").focus();
         return false
        }
    }
    </script>

</asp:Content>
